# $Id$
# Maintainer:   

pkgname=libcacard
pkgver=2.6.1
pkgrel=1
pkgdesc='(Common Access Card) library thar provides emulation of smart cards to a virtual card reader running in a guest virtual machine'
arch=(x86_64)
license=(GPL2)
url='https://www.spice-space.org/page/Libcacard'
depends=(nss glib2)
source=(https://www.spice-space.org/download/libcacard/libcacard-$pkgver.tar.xz{,.sign})
validpgpkeys=('94A9F75661F77A6168649B23A9D8C21429AC6C82') # Christophe Fergeau <cfergeau@redhat.com>
sha1sums=('bceec1a1da4ed95f08bc1307e3a92020fb86f300'
          'SKIP')
sha512sums=('1df2fa0cf46ee503cebb3a6f28c5e11609ec19dbf4e146d6d89ea59ddc7fcace45fc02adf852bfa385ae1ba1a889e9731a034b5e6630d45f3475cbc093e3aa2d'
            'SKIP')

build () {
  cd libcacard-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd libcacard-$pkgver
  make DESTDIR="$pkgdir" install
}
